<?php

	include ('../Config/conn.php'); 
	include ('../Model/wishlist_item.class.php'); 

	$idwishlist = isset($_POST['idwishlist']) ? $_POST['idwishlist'] : 0;
	$plataforma = isset($_POST['plataforma']) ? $_POST['plataforma'] : 0;
	$iditem = isset($_POST['iditem']) ? $_POST['iditem'] : 0;		
	
	$ObjWishlist_item = new Wishlist_Item($idwishlist, $plataforma, $iditem);		
	
	$ObjWishlist_item->insereItemWishlist($db);		
	
	include ('../Config/destruct.php');
	
?>